PROGRAM openplc_test
  VAR
    PB1 AT %IX0.0 : BOOL := 1;
    LED AT %QX0.0 : BOOL := 1;
  END_VAR

  LED := PB1;
END_PROGRAM


CONFIGURATION Config0

  RESOURCE Res0 ON PLC
    TASK task0(INTERVAL := T#20ms,PRIORITY := 0);
    PROGRAM instance0 WITH task0 : openplc_test;
  END_RESOURCE
END_CONFIGURATION
